package com.example.product.service;


import com.example.common.result.PageBean;
import com.example.model.product.pojo.Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {
    PageBean page(Integer page, Integer PageSize, String name, String description);

    void save(Product product);

    Product selectById(Integer id);


    void deleteById(List<Integer> ids);

    void update(Product product);
}
